A short review of the theoretical studies of the cold atom micromaser (mazer) is presented. Existing models are then improved by considering more general working conditions. Especially, the mazer physics is investigated in the situation where a detuning between the cavity mode and the atomic transition frequency is present. Interesting new effects are pointed out. Especially, it is shown that the cavity may slow down or speed up the atoms according to the sign of the detuning and that the induced emission process may be completely blocked by use of a positive detuning. The transmission probability of ultracold atoms through a micromaser is also studied and we generalize previous results established in the resonant case. In particular, it is shown that the velocity selection of cold atoms passing through the micromaser can be very easily tuned and enhanced using a nonresonant field inside the cavity. This manuscript is a summary of Martin's master thesis and articles [Phys. Rev. A 67, 053804 (2003)] and [Eur. Phys. J. D 29, 133 (2004)].